package cn.ante;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
* @Description: 启动类
* @Author: Nai
* @Version: 1.0
* @Date:  2022/6/21 18:53
*/
// 启动类注解
@SpringBootApplication
// 扫描mapper接口
@MapperScan("cn.ante.*.mapper")
// 添加监听器listener包扫描注解
@ServletComponentScan(value = "cn.ante.basic.listener")
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class,args);
    }
}
